#pragma once

class CTTChatClient;

class CTTChatConnectionListener : public ConnectionListener
{
public:
	CTTChatConnectionListener(void);
	CTTChatConnectionListener(CTTChatClient* pClient);
	~CTTChatConnectionListener(void);

public:
	virtual void onConnect();
	virtual void onDisconnect( enum gloox::ConnectionError );
	virtual bool onTLSConnect( const struct gloox::CertInfo& );

private:
	CTTChatClient* m_pClient;
};
